package asso.moretomore;

import java.util.List;

public class Student {
	private int stuId;
	private String sName;
	
	// 一个学生对应多门课程
	private List<Lesson> lessons;

	public int getStuId() {
		return stuId;
	}

	public void setStuId(int stuId) {
		this.stuId = stuId;
	}

	public String getsName() {
		return sName;
	}

	public void setsName(String sName) {
		this.sName = sName;
	}

	public List<Lesson> getLessons() {
		return lessons;
	}

	public void setLessons(List<Lesson> lessons) {
		this.lessons = lessons;
	}

	@Override
	public String toString() {
		return "Student [stuId=" + stuId + ", sName=" + sName + ", lessons=" + lessons + "]";
	}
}
